/**
 * 
 */
package metalink.admin;

import java.util.ArrayList;

import com.opensymphony.xwork2.ActionSupport;

import model.admin.StudentFinanceMo;
import vo.StudentFinancialsVo;

/**
 * @author Sony
 *
 */
public class GetSemFeeDetails extends ActionSupport{
	ArrayList<StudentFinancialsVo> list = new ArrayList<StudentFinancialsVo>();
	ArrayList<StudentFinancialsVo> onetime = new ArrayList<StudentFinancialsVo>();
	int student_id,year_semester_id;
	public String execute() {
		StudentFinanceMo mo = new StudentFinanceMo();
		list = mo.getSemFinancials(student_id,year_semester_id);
		onetime=mo.getOneTimeFinancials(student_id);
		setStudent_id(student_id);
		setYear_semester_id(year_semester_id);
		return SUCCESS;
	}
	
	
	public int getYear_semester_id() {
		return year_semester_id;
	}


	public void setYear_semester_id(int year_semester_id) {
		this.year_semester_id = year_semester_id;
	}


	public ArrayList<StudentFinancialsVo> getList() {
		return list;
	}

	public void setList(ArrayList<StudentFinancialsVo> list) {
		this.list = list;
	}
	public ArrayList<StudentFinancialsVo> getOnetime() {
		return onetime;
	}

	public void setOnetime(ArrayList<StudentFinancialsVo> onetime) {
		this.onetime = onetime;
	}

	public int getStudent_id() {
		return student_id;
	}

	public void setStudent_id(int student_id) {
		this.student_id = student_id;
	}



}
